package com.woniuxy.kaer.shop.service;

import com.woniuxy.kaer.commons.util.PageInfo;
import com.woniuxy.kaer.form.PageForm;
import com.woniuxy.kaer.param.RefundParam;
import com.woniuxy.kaer.shop.model.RefundRequests;
import com.baomidou.mybatisplus.extension.service.IService;

import java.math.BigDecimal;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 郭建东
 * @since 2025年02月17日
 */
public interface RefundRequestsService extends IService<RefundRequests> {

    void applyRefund(RefundParam param, Integer userId)throws Exception;

    void handleRefundApply(String refundId, Integer state)throws Exception;
    void handleRefund(String refundId)throws Exception;

    PageInfo searchRefund(PageForm form)throws Exception;
}
